#include<stdio.h>
int main()
{
 unsigned int f1=0,f2=1,f,n,t;
 printf("\n The number of terms:");
 scanf("%d",&n);
 while(1)
  {
   for(t=f1+1;t<f2&&n>0;++t)
    {
      printf("%d\n",t);
      n--;
     }
   if(n==0)
     break;
   f=f1+f2;
   f1=f2;
   f2=f;
  }
 return 0;
}

